Peter Liu
Beginner · Not a member
Peter Liu's latest activity
Saturday, September 06 2008
15
NoMethodError in _login_bar.html.erb
was updated
in Restful Authentication
-
- Tag set to routing
I think I may have figured out. The problem is in the route. There is already a login_path and since my model is Login, it's causing a confusion with the routes...
-
Peter Liu commented at 1:33 PMI narrowed the problem down to login_path(login). That's where the problem is. BTW, I'm using Login as my model instead of User.
-
Peter Liu created the ticket at 1:23 PMI created a fresh rails and installed the rest_autentication plugin. I ran the generator with --aasm option and setup layouts/application.html.erb to include:
...